/*
 * @Date: 2022-04-16 14:43:46
 * @LastEditors: sailornpg
 * @LastEditTime: 2022-04-24 13:42:32
 * @FilePath: \weibovue\src\components\Topic\types.ts
 * @Description: 评论类型
 */
export interface UserData {
  id?: number;
  avatar?: string;
  nickName?: string;
  userName?: string;
}
export interface repliesItem {
  id: number;
  blogId: number;
  content: string;
  createdAt: string;
  reply_userId: number;
  user: UserData;
}
export interface topicItem {
  blogId: number;
  content: string;
  createdAt: string;
  id: number;
  replies: repliesItem[];
  user: UserData;
}
export interface topicDataType {
  count: number;
  topicList?: topicItem[];
}
